package com.kgc.collection.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class OtherPayWay {
    private int id ;
    private String majorCode;

    private int accountId;
//    private String accountName;

    private int typeId;
//    private String typeName;

    private BigDecimal amount;
    private BigDecimal serviceAmount;

    private String info;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date create_date;
    private int create_id;
    private String create_name;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date modi_date;
    private int modi_id;
    private String modi_name;

    @Override
    public String toString() {
        return "OtherPayWay{" +
                "id=" + id +
                ", majorCode='" + majorCode + '\'' +
                ", accountId=" + accountId +
//                ", accountName='" + accountName + '\'' +
                ", typeId=" + typeId +
//                ", typeName='" + typeName + '\'' +
                ", amount=" + amount +
                ", serviceAmount=" + serviceAmount +
                ", info='" + info + '\'' +
                ", create_date=" + create_date +
                ", create_id=" + create_id +
                ", create_name='" + create_name + '\'' +
                ", modi_date=" + modi_date +
                ", modi_id=" + modi_id +
                ", modi_name='" + modi_name + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMajorCode() {
        return majorCode;
    }

    public void setMajorCode(String majorCode) {
        this.majorCode = majorCode;
    }

    public int getAccountId() {
        return accountId;
    }

    public void setAccountId(int accountId) {
        this.accountId = accountId;
    }

//    public String getAccountName() {
//        return accountName;
//    }

//    public void setAccountName(String accountName) {
//        this.accountName = accountName;
//    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

//    public String getTypeName() {
//        return typeName;
//    }

//    public void setTypeName(String typeName) {
//        this.typeName = typeName;
//    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getServiceAmount() {
        return serviceAmount;
    }

    public void setServiceAmount(BigDecimal serviceAmount) {
        this.serviceAmount = serviceAmount;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Date getCreate_date() {
        return create_date;
    }

    public void setCreate_date(Date create_date) {
        this.create_date = create_date;
    }

    public int getCreate_id() {
        return create_id;
    }

    public void setCreate_id(int create_id) {
        this.create_id = create_id;
    }

    public String getCreate_name() {
        return create_name;
    }

    public void setCreate_name(String create_name) {
        this.create_name = create_name;
    }

    public Date getModi_date() {
        return modi_date;
    }

    public void setModi_date(Date modi_date) {
        this.modi_date = modi_date;
    }

    public int getModi_id() {
        return modi_id;
    }

    public void setModi_id(int modi_id) {
        this.modi_id = modi_id;
    }

    public String getModi_name() {
        return modi_name;
    }

    public void setModi_name(String modi_name) {
        this.modi_name = modi_name;
    }
}
